﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Sunlit.House.Articles.Dto;

namespace Sunlit.House.Articles
{
    public interface INewsAppService: IAsyncCrudAppService<NewsDto,long,GetAllNewsInput,CreateNewsInput,UpdateNewsInput>
    {
        Task AddHitsAsync(EntityDto<long> input);
        Task InSlider(EntityDto<long> input);
        Task OutSlider(EntityDto<long> input);
        Task ShowOnHome(EntityDto<long> input);
        Task HideOnHome(EntityDto<long> input);
        Task<List<NewsDto>> GetSliderAsync();
    }
}
